package com.zl.hyzg.service.impl;

import com.zl.hyzg.domain.Company;
import com.zl.hyzg.mapper.CompanyMapper;
import com.zl.hyzg.service.CompanyService;
import com.zl.hyzg.vo.CompanyVo;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class CompanyServiceImpl implements CompanyService {
    @Autowired
    private CompanyMapper companyMapper;


    public int addCompany(Company company){
       return companyMapper.addCompany(company);
    }

    public Company login(CompanyVo companyVo){
        return companyMapper.login(companyVo);
    }

}
